Airwallex\Services\OrderService A

Total Complexity 71
Dependencies 15
Dependents 9
Total lines 513
Lines of code 415
Logical lines of code 173
Comment lines 56
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
paymentCompleteByAuthorize()
A
41 8 56
checkPendingTransactions()
A
47 9 34
getOrderByPaymentIntentId()
A
46 7 47
getRefundByAmountAndTime()
A
41 5 74
getRefundIdByAirwallexRefundId()
S
48 5 41
update_consent()
S
57 5 18
getOrderByAirwallexRefundId()
S
52 4 27
getPendingPaymentOrdersIds()
S
52 3 31
paymentCompleteByCapture()
S
50 3 29
getAirwallexCustomerId()
S
57 3 16
containsSubscription()
S
77 4 3
setPaymentSuccess()
S
66 3 8
getOrderMetaTableName()
S
69 3 7
getOrderIdColumnNameFromMetaTable()
S
71 3 6
setTemporaryOrderStateAfterDecline()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6